-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 3.2.0-beta.2 #184
Release 3.2.0-beta.2 #184
Conversation
oschwald
commented
Nov 15, 2024
- Set release date
- Update config file for phpstan 2
- Improve type hints for PHPStan
- Use typed properties
- Fix questionable handling of falsey values
- Remove redundant is_string check
- Remove checks that are no longer needed
- Update dependencies
For better handling of null values.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a couple questions!
src/MinFraud/ServiceClient.php
Outdated
@@ -62,6 +67,10 @@ protected function maybeThrowInvalidInputException(string $msg): void | |||
} | |||
} | |||
|
|||
/** | |||
* @param array<string, mixed> $array | |||
* @param list<string> $types |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we mention $key?
@@ -19,8 +19,7 @@ | |||
"require": { | |||
"php": ">=8.1", | |||
"ext-json": "*", | |||
"geoip2/geoip2": "^v3.0.0", | |||
"maxmind/web-service-common": "^0.9.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need an explicit dep on this now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We get it from geiop2/geoip2
. I think I added it as an explicit dep when I wanted to force newer version when geoip2/geoip2
had not been updated yet. It seems slightly easier to manage as an implicit dep, but I can see arguments both ways.